package yxy.cherry.paycenter.channelmodule;

public enum ActType {

	普通充值(0,0),
	超值首冲	(1, 0),
	每日首充	(2, 0),
	每日累充	(3, 0),
	签到	(101, 0),
	月卡	(102, 0),
	每周特惠	(104, 5),
	每月特惠	(105, 4),
	成长基金	(106, 7),
	推荐码(107, 0),
	兑换码(108, 0),
	每日礼包	(109, 2),
	特权商城	(110, 3),
	限时抢购(7, 8),
	养成礼包(15, 10),
	超值月基金(16, 11),
	限时礼包(11, 9),
	关卡基金(113, 12),
	每日特惠(117, 14),
	周卡(19, 16),
	翻牌(17, 13),
	神魔卡(18, 15),
	支付等级礼包(21, 17),
	关羽招募(118, 18),
	节日活动(22, 19),
	招募令礼包(501,20),
	武将直升礼包(504,21),
	心仪武将(505,22),
	心愿瓶(506,23),
	国庆寻宝(507,24),
	;

	private int number;		//acttype
	private int paytype;

	ActType(int num, int pt) {
		this.number = num;
		this.paytype = pt;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public int getPaytype() {
		return paytype;
	}

	public void setPaytype(int paytype) {
		this.paytype = paytype;
	}

	public static ActType getat(int num) {
		switch (num) {
			case 0:		return 普通充值;
			case 1:		return 超值首冲;
			case 2:		return 每日首充;
			case 3: 	return 每日累充;
			case 101: 	return 签到;
			case 102:  	return 月卡;
			case 104:  	return 每周特惠;
			case 105:  	return 每月特惠;
			case 106:  	return 成长基金;
			case 107:  	return 推荐码;
			case 108:  	return 兑换码;
			case 109:  	return 每日礼包;
			case 110:  	return 特权商城;
			case 7:  	return 限时抢购;
			case 15: 	return 养成礼包;
			case 16: 	return 超值月基金;
			case 11: 	return 限时礼包;
			case 113: 	return 关卡基金;
			case 117: 	return 每日特惠;
			case 19: 	return 周卡;
			case 17: 	return 翻牌;
			case 18: 	return 神魔卡;
			case 21: 	return 支付等级礼包;
			case 118:   return 关羽招募;
			case 22:    return 节日活动;
			case 501:   return 招募令礼包;
			case 504:   return 武将直升礼包;
			case 505:   return 心仪武将;
			case 506:   return 心愿瓶;
			case 507:   return 国庆寻宝;
		default:
			return null;
		}
	}
}
